package com.easy.easybook.dao.base;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * @author http://zouyujie.top
 * @date 2021/12/18 20:13
 */
public interface BaseDao<T> {

    List<T> listAll();

    int add(T t);

    int delete(Integer id);

}
